﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UA.Framework.Views
{
    public class LoginView : ViewBase
    {
        [Required]
        [Display(Name = "登录帐号")]
        [StringLength(32, MinimumLength = 3)]
        public string LoginCode { get; set; }


        [Required]
        [Display(Name = "登录密码")]
        [DataType(DataType.Password)]
        [StringLength(32, MinimumLength = 1)]
        public string Password { get; set; }


        [Display(Name = "验证码")]
        [StringLength(6)]
        public string Captcha { get; set; }


        [Display(Name = "记住我（7天内有效）")]
        public bool RememberMe { get; set; }
    }
}
